package com.bluemsun.naturallanguageprocessing.service;

/**
 * @author :hucl
 * @describe :用户点赞
 */
public interface IGoodService {
    /**
     * 用户点赞
     * @param userId
     * @param questionId
     * @return
     */
    int userDoGood(int userId,int questionId);
    /**
     * 用户取消点赞
     * @param userId
     * @param questionId
     * @return
     */
    int userUnDoGood(int userId,int questionId);
}
